package com.horsecoder.im.common.protocol.context.http;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;

/**
 * Author: Zhu yuhan
 * Email: zhuyuhan2333@qq.com
 * Date: 2022/3/16 11:35 上午
 **/
public class FullRequestContext {

    private ChannelHandlerContext channelHandlerContext;

    private FullHttpRequest fullHttpRequest;

    public FullRequestContext(ChannelHandlerContext channelHandlerContext, FullHttpRequest fullHttpRequest) {
        this.channelHandlerContext = channelHandlerContext;
        this.fullHttpRequest = fullHttpRequest;
    }

    public ChannelHandlerContext getChannelHandlerContext() {
        return channelHandlerContext;
    }

    public void setChannelHandlerContext(ChannelHandlerContext channelHandlerContext) {
        this.channelHandlerContext = channelHandlerContext;
    }

    public FullHttpRequest getFullHttpRequest() {
        return fullHttpRequest;
    }

    public void setFullHttpRequest(FullHttpRequest fullHttpRequest) {
        this.fullHttpRequest = fullHttpRequest;
    }
}
